<?php

namespace app\common\model;

use think\Model;

class Articles extends Model
{
    //关联查询
    public function cate()
    {
        return $this->belongsTo(Cates::class,'cates_id');
    }

}
